package com.itszt.manager.conf;

import com.itszt.manager.controller.FastDFSUtil;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class FdfsConfig {

    @Bean
    public FastDFSUtil fastDFSUtil() throws Exception {
        FastDFSUtil fastDFSUtil = new FastDFSUtil("classpath:fdfs_client.properties");
        return fastDFSUtil;
    }
}
